package cn.cloud9.consumer.configuration.feign;


import cn.cloud9.consumer.pojo.Product;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import java.util.List;

@FeignClient("cloud9-provider-service")
public interface ProviderFeign {

    @GetMapping("/product/all-list")
    List<Product> allList();

}
